package obecto.transition
{
	import obecto.dataTypes.BaseEnum;

	public class TransitionInterruptionPolicy extends BaseEnum
	{
		public static const ROLLBACK : TransitionInterruptionPolicy = new TransitionInterruptionPolicy("rollback", 0);
		public static const END : TransitionInterruptionPolicy = new TransitionInterruptionPolicy("end", 1);
		public static const INTERRUPT : TransitionInterruptionPolicy = new TransitionInterruptionPolicy("interrupt", 2);
		public static const REVERSE : TransitionInterruptionPolicy = new TransitionInterruptionPolicy("reverse", 3);
		public static const WAIT : TransitionInterruptionPolicy = new TransitionInterruptionPolicy("wait", 4);
		
		public function TransitionInterruptionPolicy(aName : String = "", aValue : Number = NaN)
		{
			super(aName, aValue);
		}		
		
		/*
		- The current behavior (jump to the end of the previous transition, play the new one from there)
		- Stop&play (stop at the current point of the previous transition and play the new one from there)
		- autoReverse (the A feature described above, specific to cases where the new transition is the 
          reverse of the previous one)
		- forceComplete (finish the previous transition, then possibly play the next transition from that point, 
          unless another transition occurred in the meantime)
		*/
	}
}